import request from "@/utils/request";
import { AxiosPromise } from "axios";
import {AuditQuery, AuditVO} from "@/api/audit/types";

/**
 * 标准核销单分页数据
 *
 * @param queryParams
 */
export function getDoneAuditPage(
	queryParams: AuditQuery
): AxiosPromise<PageResult<[]>> {
	return request({
		url: '/api/v1/doneAudit/page',
		method: 'get',
		params: queryParams
	});
}

/**
 * 获取用户表单详情
 *
 * @param userId
 */
export function getDoneAuditVO(id: number): AxiosPromise<AuditVO> {
	return request({
		url: '/api/v1/doneAudit/' + id,
		method: 'get'
	});
}





